package com.itheima.sh.bulk.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 商品信息
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class GoodInfo implements Serializable {
    private Long id; // 商品ID
    private String title; // 商品名称
    private Double price; // 商品价格
    private String image; // 商品图片

    public GoodInfo(String title, Double price, String image) {
        this.title = title;
        this.price = price;
        this.image = image;
    }
}